package com.dl.mall.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 购物车
 * @author DL
 * @create 2022-03-24 21:15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "Cart",description = "购物车实体类")
public class Cart implements Serializable {
    private int id;
    private String userId;
    private String specsId;
    private int count;
    private int state;
}
